<?
$r = "../";
require_once($r."_engine/header_nocache.php");

include "login_process.php";

$p = "login";
include $r."_header.php";
?>


<p class="text">You need a W3Monitor account to track the web for changes. If you 
are already a member, log in below.</p>

<p class="text">Don't have W3Monitor account? <a href="<?=HrefToPage("signup")?>">Sign up now</a> for a FREE trial. It's quick and easy.</p>

<?
if (@$action == "login")
{
	check_and_show_error(@$status == LOGIN_INCORRECT,			$g_text_incorrect_login);
	check_and_show_error(@$status == LOGIN_NOT_ACTIVATED,		
		process_template($g_text_account_not_activated, array(
	    	'EMAIL' => @$account->data["email"])));
	check_and_show_error(@$status == LOGIN_ACCOUNT_EXIPIRED,	$g_text_account_expired);
}
?>

<form action="login.php" method="post">
<input type="hidden" name="action" value="login">
<input type="hidden" name="ref" value="<?=@$ref?>">

<table style="margin-left: -2;">
<tr>
	<td><span class="text">E-mail:</span></td>
	<td><span class="text"><input type="Text" name="f_login_email" value="<?=htmlspecialchars(@$f_login_email)?>" style="width:200" 
		class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></span></td>
</tr>
<tr>
	<td><span class="text">Password:</span></td>
	<td><span class="text"><input type="Password" name="f_login_password" value="<?=htmlspecialchars(@$f_login_password)?>" style="width:200" 
		class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></span></td>
</tr>
<tr>
	<td></td>
	<td><span class="text" style="margin-left: -3;"><input type="Checkbox" name="f_remember" <? if (@$f_remember) echo "checked"?>>
		Remember me on this computer</span></td>
</tr>
<tr>
	<td></td>
	<td><span class="text"<?/*style="margin-left: 7;"*/?>><a href="<?=HrefToPage("password_recovery")?>">Forgot your password?</a></span></td>
</tr>
<tr>
	<td></td>
	<td><span class="text">
		<input type="submit" value="Sign In" style="width: 70;" class="button2" onMouseOver="this.className='button2_act'" onMouseOut="this.className='button2'">
		</span>
	</td>
</tr>
</table>
</form>


<?
include $r."_footer.php";
?>